<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>店铺满就送添加页  - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/buy.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	methodChange();
	$("#jvForm").validate();
});
function methodChange() {
	var method = $("input[name=status]:checked").val();
	if(method=="1") {
		$('#fullgive1').show();
		$('#fullgive2').hide();
		$('#fullgive3').hide();
		$('#fullgive4').hide();
	}else if(method=="2") {
		$('#fullgive1').hide();
		$('#fullgive2').show();
		$('#fullgive3').hide();
		$('#fullgive4').hide();
	}else if(method=="3") {
		$('#fullgive1').hide();
		$('#fullgive2').hide();
		$('#fullgive3').show();
		$('#fullgive4').show();
	}
	return true;
	}
</script>
<style type="text/css">
.method-div{padding:2px 1px;}
.hidden{display:none;}
.country-price{border:1px solid #ccc;padding:2px;margin:2px 0px;}
</style>
</head>
<body>
[#include "../include/shop_top.html"/]
<div class="w1168">
	[#include "店铺中心_导航.html"/]
  <div class="user_right">
		<div class="user_title2">店铺满就送管理</div>
        <div class="clear10"></div>  
	    <form class="ropt">
		<input type="submit" value="返回列表" onclick="this.form.action='list.jspx?pageNo=${pageNo}';" class="menu_ok2"/>
     	</form>  
        <div class="clear10"></div> 
        <form method="post" action="save.jspx" id="jvForm">
        <table width="100%" cellpadding="2" cellspacing="1" border="0">
        <tr>
          <td width="120" height="40" align="right"><span>*</span>名称：</td>
        <td><input type="text" name="name" class="required address_input" /></td>
        </tr>
        <tr>
        <td height="40" align="right"><span>*</span>满就送类型：</td>
        <td>
        <input type="radio" name="status" value="1" checked="checked"  onclick="methodChange();"/>满就立减&nbsp;
        <input type="radio" name="status" value="2"  onclick="methodChange();"/>满就免邮&nbsp;
        <input type="radio" name="status" value="3"  onclick="methodChange();"/>满就送礼品&nbsp;
        </td>
        </tr>
        
        <tr>
        <td height="40" align="right">最小满的数额：</td>
        <td>
        <input type="text" name="mintotalmoney" class="required address_input" /></td>
        </tr>
        <tr>
        <td height="40" align="right">最大满的数额：</td>
        <td>
        <input type="text" name="maxtotalmoney" class="required address_input" /></td>
        </tr>
        <tr id="fullgive1" class="method-div hidden">
        <td height="40" align="right">立减数额：</td>
        <td>
        <input type="text" name="subtractmoney" class="address_input" /></td>
        </tr>
        <tr align="right" class="method-div hidden" id="fullgive2">
        <td height="40" align="center">&nbsp;</td>
        <td align="left">邮费全免</td>
        </tr>
        <tr id="fullgive3" class="method-div hidden">
        <td height="40" align="right">送的礼品：</td>
        <td>
        <input type="text" name="giftname" class="address_input" /></td>
        </tr>
        <tr id="fullgive4" class="method-div hidden">
        <td height="140" align="right">礼品描述：</td>
        <td>
        <textarea name="giftdescription" rows="5" cols="50" class="address_input" style="height:120px; width:700px; padding:5px;">
        </textarea>
        </td>
        </tr>
        <tr>
        <td height="140" align="right">描述：</td>
        <td>
        <textarea name="giftdescription" rows="5" cols="50" class="address_input" style="height:120px; width:700px; padding:5px;"></textarea>
        </td>
        </tr>
        <tr>
        <td height="40" align="right">禁用：</td>
        <td>
        <input type="radio" name="disable" value="true"/>是&nbsp;&nbsp;
        <input type="radio" name="disable"  value="false" checked="checked"/>否
        </td>
        </tr>
        <tr><td height="50" align="right">&nbsp;
        
        </td>
        <td><input type="submit" value="提交" class="menu_ok"/> &nbsp; <input type="reset" value="重置" class="menu_ok"/></td>
        </tr>
        </table>
      </form>
  </div>
	<div class="clear20"></div>
</div>
[#include "../include/footer_information_bar.html"/]
</body>
</html>